package com.coconut.domain.credit.repository;

import com.coconut.domain.credit.model.aggregate.TradeAggregate;
import com.coconut.domain.credit.model.entity.CreditAccountEntity;

/**
 * @Author YaoBoning
 * @Date 2024/10/25 15:32
 * @Description 用户积分仓储
 */
public interface ICreditRepository {

    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);

}

